<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head th:replace="/pc/common::head(~{::custom_settings})">
		<th:block th:fragment="custom_settings">
			<title>商户结算-新增商户结算</title>
		</th:block>
	</head>
	<body class="main-content">
	    <div id="isQuery">
		    <table>
		        <tr>
		            <td><label>商户名称：</label></td>
		            <td>
		                <div id="keyword" class="search-select" enableFilter="true" idField="entityid" textField="merchantname" width="250" height="26"></div>
		            </td>
		            <td><input class="org-search" type="button" onclick="onSearch();" value="查询"/></td>
		            <td><input class="org-save" type="button" onclick="saveData();" value="导出"/></td>
		            <td><input class="org-close" type="button" onclick="window.closeWindow();" value="关闭"/></td>
		        </tr>
		    </table>
		</div>
	    <div id="dataGrid" class="search-datagrid  main-auto-content" idField="entityid" showCheckBox="true" multiSelect="true"
	         alternatingRows="true" style="width:100%; height:300px;" showPager="true">
	        <div property="columns">
	            <div type="checkcolumn"></div>
	            <div type="indexcolumn" width="30" headAlign="center" textAlign="center">序号</div>
	            <div field="merchantname" width="200" headAlign="center" textAlign="left">商户名</div>
	            <div field="merchantphone" width="100" headAlign="center" textAlign="left">商户电话</div>
	            <div field="totalamount" width="80" headAlign="center" textAlign="left">账户总额</div>
	        </div>
	    </div>
		<script type="text/javascript" th:src="@{{js}/pc/merchantsettlements/MerchantAutomaticSettlementsHandler.js(js=${js})}"></script>
	</body>
</html>
